package tp.pr3;

public enum Directions
{
	NORTH, EAST, SOUTH, WEST, UNKNOWN;

	public Directions getOpuesto()
	{ 
		switch (this)
		{
		case NORTH:
			return SOUTH;

		case EAST:
			return WEST;

		case SOUTH:
			return NORTH;

		case WEST:
			return EAST;
		}
		return UNKNOWN;
	}

}